<template>
	<view>
		<view class="navigation">
			<view class="navigation_back" @tap="backref()">
				<uni-icons type="back" size="24" color="#333"></uni-icons>
			</view>
			<view class="navigation_title">
				我的评价
			</view>
		</view>
		<view class="evaluate_con">
			<view class="evaluate_item" v-for="(item,index) in evaluateList" :key="index">
				<view class="evaluate_item_hd">
					<view class="evaluate_item_img">
						<image :src="item.picUrl" mode=""></image>
					</view>
					<view class="evaluate_item_info">
						<view class="evaluate_item_name">
							{{item.name}}
						</view>
						<view class="evaluate_item_stars">
							<view class="evaluate_item_star_label">
								整体评价
							</view>
							<image src="../../static/image/order/star.svg" mode="" v-for="(item2,index2) in item.star" :key="index2 + 10"></image>
							<image src="../../static/image/order/unstar.svg" mode="" v-for="(item2,index2) in 5 - item.star" :key="index2 + 20"></image>
						</view>
					</view>
				</view>
				<view class="evaluate_item_bd">
					<view class="evaluate_item_content">
						{{item.content}}
					</view>
					<view class="evaluate_item_list">
						<image :src="item4" mode="aspectFill" v-for="(item4,index4) in item.imgList" :key="index4 + 40"></image>
					</view>
					<view class="evaluate_item_time">
						更新时间:{{item.time}}
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				evaluateList:[
					
					
				]
			};
		},
		methods:{
			backref() {
				uni.navigateTo({
					url:'/pages/memberCenter/memberCenter'
				})
			},
		}
	}
</script>

<style lang="scss">
page {
		background: #F9FBFC;
	}

	.navigation {
		width: 100%;
		height: 150rpx;
		padding: 60rpx 24rpx 0;
		text-align: center;
		position: relative;
		background-color: #fff;

		.navigation_back {
			position: absolute;
			top: 60rpx;
		}

		.navigation_title {
			color: #333;
			font-size: 36rpx;
			font-weight: 500;
		}
	}

	.evaluate_con{
		padding: 32rpx 24rpx;
		.evaluate_item{
			margin-bottom: 32rpx;
			background-color: #fff;
			padding: 32rpx;
			.evaluate_item_hd{
				display: flex;
				align-items: center;
				border-bottom: 1rpx solid #CCCCCC;
				padding-bottom: 24rpx;
				.evaluate_item_img{
					image{
						width: 120rpx;
						height: 120rpx;
						border-radius: 12rpx;
					}
				}
				.evaluate_item_info{
					margin-left: 24rpx;
					.evaluate_item_name{
						color: #2E343A;
						font-size: 30rpx;
						font-weight: 500;
					}
					.evaluate_item_stars{
						display: flex;
						align-items: center;
						margin-top: 6rpx;
						.evaluate_item_star_label{
							font-size: 24rpx;
							color: #000000;
							margin-right: 20rpx;
						}
						image{
							width: 36rpx;
							height: 32rpx;
							margin-right: 18rpx;
						}
					}
				}
			}
			.evaluate_item_bd{
				.evaluate_item_content{
					color: #666666;
					padding: 26rpx 0;
					font-size: 26rpx;
				}
				.evaluate_item_list{
					display: flex;
					margin-bottom: 24rpx;
					image{
						width: 160rpx;
						height: 160rpx;
						border-radius: 12rpx;
						margin-right: 12rpx;
					}
				}
				.evaluate_item_time{
					font-size: 24rpx;
					color: #9098A0;
				}
			}
		}
	}
</style>
